package com.annotation.lifeCycle.beanPostProcessor;

import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author: qiuli
 * @date: 2022/1/10 20:23
 * @description:
 */

@Data
@Configuration
@ComponentScan(value = "com.annotation.lifeCycle.beanPostProcessor")
public class MyBeanPostProcessorConfig {

    @Bean
    public Dog getDog() {
        return new Dog();
    }
}
